package td.domain;

import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Ignore;

/**
 * An instance of a tag applied to a given Thought by a given Thinker.
 * 
 * @author artem
 * 
 */
@Entity
public class Tag extends DatastoreObject {

	private static final long serialVersionUID = 5795857694482941015L;

	@Ignore
	private TagDef tag;
	@Ignore
	private Thought thought;
	@Ignore
	private Thinker thinker;

	public Tag(TagDef tag, Thought thought, Thinker thinker) {
		this.tag = tag;
		this.thought = thought;
		this.thinker = thinker;
	}

	public Tag() {
		super();
	}

	public TagDef getTag() {
		return tag;
	}

	public void setTag(TagDef tag) {
		this.tag = tag;
	}

	public Thought getThought() {
		return thought;
	}

	public void setThought(Thought thought) {
		this.thought = thought;
	}

	public Thinker getThinker() {
		return thinker;
	}

	public void setThinker(Thinker thinker) {
		this.thinker = thinker;
	}

}
